﻿using SelfManagement.Database.Common;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace SelfManagement.Database.POCO
{
    [Table("School")]
    public class School: EntityBase
    {
        /// <summary>
        /// 学校名称
        /// </summary>
        [StringLength(100)]
        public String SchoolName { get; set; }
        /// <summary>
        /// 学校图片的路径
        /// </summary>
        [StringLength(500)]
        public  string ImagePath { get; set; }
        /// <summary>
        /// 学校专业
        /// </summary>
        [StringLength(500)]
        public string SchoolMajor { get; set; }
        /// <summary>
        /// 学校特色
        /// </summary>
        [StringLength(5000)]
        public string SchoolFeature { get; set; }
        /// <summary>
        /// 学校人数
        /// </summary>
        public int SchoolNumberPeople { get; set; }
        /// <summary>
        /// 学校成立至今的时间
        /// </summary>
        public  int SchoolTime { get; set; }
        /// <summary>
        /// 学校地址
        /// </summary>
        [StringLength (500)]
        public string SchoolArea { get; set; }
        
    }
}
